<template>
  <div>
    <dv-water-level-pond
          :config="config"
          style="width: 100%; height: 200px"
      />
  </div>
</template>

<script>
export default {
props:{ 
     FlightData:{
        type:Array,
        default:()=>[
         {
            name: "南阳",
            value: 167,
          },
          {
            name: "周口",
            value: 67,
          },
          {
            name: "漯河",
            value: 123,
          },
          {
            name: "郑州",
            value: 55,
          },
          {
            name: "西峡",
            value: 98,
          },
        ]
    },
    colors:{
        type:Array,
        default:()=>[]
    }
    },
  data() {
    return {
      config: {
        data:this.FlightData,
        colors:this.colors,
        unit: "单位",
        showValue: true,
      },
    };
  },
};
</script>

<style lang="scss" scoped></style>
